package com.ruoyi.system.domain.vo;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Map;

/**
 * person对象 person
 *
 * @author ruoyi
 * @date 2022-04-16
 */
public class IndexIntVo extends BaseEntity implements Comparable<IndexIntVo> {


    Map name; //类别名称
    int wwc;  //未完成的人次
    int zrc;  //已完成的人次

    public Map getName() {
        return name;
    }

    public void setName(Map name) {
        this.name = name;
    }

    public int getWwc() {
        return wwc;
    }

    public void setWwc(int wwc) {
        this.wwc = wwc;
    }

    public int getZrc() {
        return zrc;
    }

    public void setZrc(int zrc) {
        this.zrc = zrc;
    }

    public IndexIntVo(Map name, int wwc, int zrc) {
        this.name = name;
        this.wwc = wwc;
        this.zrc = zrc;
    }

    @Override
    public int compareTo(IndexIntVo indexIntVo) {
        // TODO Auto-generated method stub
        return this.wwc - indexIntVo.wwc;
    }

}
